package com.springboot.config.annotion;

import java.lang.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * User: lby.
 * Date: 2018/6/10.
 * Version: V1.0.
 */

/**
 * 多数据源注解
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
public @interface DataSource {

    String name() default "";
}

